<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8"><meta name="format-detection" content="telephone=no">
    <meta name="viewport"
          content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>图片浏览</title>
    <link rel="stylesheet" type="text/css" href="../../lib/css/skin.min.css"/>
</head>
<body style="background: #000"></body>
<script type="text/javascript">
    var apiready = function () {
        var photoBrowser = api.require('photoBrowser');
        var params = {
            images: api.pageParam.img_data,
            bgColor: 'rgba(0,0,0,0)'
        }
        photoBrowser.open(params, function () {
            api.openFrame({
                rect: {
                    x: 0,
                    y: 50,
                    w: 50,
                    h: 50
                },
                bgColor: 'rgba(255,255,255,1)',
                name: 'closeframe',
                url: 'close_frame.html'
            })
        });
	    setTimeout(function(){
		    api.toast({
			    msg: '左右滑动可查看多张图片'
		    })
        },1000)
    };
</script>
</html>